package math;

import java.util.*;

public class LatexFunction implements MathNode
{
    String symbol;
    List<MathNode> optionalArguments;
    List<MathNode> necessaryArguments;

    LatexFunction(String s,List<MathNode> oa,List<MathNode> na)
    {
        this.symbol = s;
        this.optionalArguments = oa;
        this.necessaryArguments = na;
    }

    @Override
    public String getExpressionString()
    {
        return getClass().getName() + "<" + symbol + ">";
    }
}
